//
//  PKWorksModelView.m
//  PianKe
//
//  Created by mingtao on 15/10/7.
//  Copyright (c) 2015年 mingtao. All rights reserved.
//

#import "PKWorksModelView.h"

@implementation PKWorksModelView



- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        _button = [UIButton buttonWithType:(UIButtonTypeCustom)];
        _button.frame = CGRectMake(0, 0, frame.size.width, frame.size.height);
        _button.backgroundColor = [UIColor lightGrayColor];
        [self addSubview:_button];
        
        _label = [[UILabel alloc]initWithFrame:CGRectMake(0, frame.size.height - 20, frame.size.width, 20)];
        _label.backgroundColor = [UIColor grayColor];
        _label.font = [UIFont systemFontOfSize:12];
        [self addSubview:_label];
    }
    return self;
}







/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
